package com.itheima.zixi1.ZuoYe.ZuoYe1;

public class Staff extends Peolpe11{
    private String ID;

    public Staff() {
    }

    public Staff(String ID) {
        this.ID = ID;
    }

    public Staff(String name, int age, String sex, String ID) {
        super(name, age, sex);
        this.ID = ID;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    @Override
    public void eat() {
        System.out.println("吃工作餐");
    }
}
